Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger tracking not at program end or termination #8

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

haraldkl
Copy link
Member

Suggestion to fix #7.

Triggering the tracking at the end of the program causes unintended behavior. For example, it produces an output, even if the tracking was configured to only produce outputs up to a given maximal point in time.
Also in combination with APESmate the triggering at the end of the program results in an output at every step of the overall problem solution.

Note however, that this changes current behavior and probably requires us to adapt the inputs / or the behavior of the individual solvers. We could add some logic to set the max time for the trackers to the max time of the simcontrol in the solvers, if no end time is configured otherwise for the tracker. This would hopefully restore the previous behavior aside from the output due to abnormal program termination.

Triggering the tracking at the end of the program causes
unintended behavior. For example, it produces an output,
even if the tracking was configured to only produce outputs
up to a given maximal point in time.
Also in combination with APESmate the triggering at the
end of the program results in an output at every step of
the overall problem solution.
@KannanMasilamani KannanMasilamani marked this pull request as ready for review April 16, 2024 20:16
@KannanMasilamani KannanMasilamani marked this pull request as draft April 16, 2024 20:16
@KannanMasilamani
Copy link
Contributor

Is this change tested in both Musubi and APESMate?

@haraldkl
Copy link
Member Author

Is this change tested in both Musubi and APESMate?

I haven't tested it at all. I believe this requires us to change the recheck configuration files. Alternatively we could add a default maximum time for trackers to coincide with the end of the simulation max.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tracking should not always trigger at the end of the simulation
3 participants